package com.example.model;

import java.util.ArrayList;
import java.util.List;

public class OutContacts extends OutResult{
   private List<Contacts> list ;
   
   public OutContacts(){
	   list = new ArrayList<Contacts>();
   }
   public OutContacts(List<Contacts> list){
	   this.list = list;
   }
   public void addToListContact(Contacts contacts){
	   this.list.add(contacts);
   }
   public Contacts getContact(int i){
	   return list.get(i);
   }
   public List<Contacts> getList(){
	   return this.list;
   }
}
